package ru.gerunn.test.jndi;

import java.util.Hashtable;

import javax.naming.NamingException;
import javax.naming.spi.InitialContextFactory;
import javax.naming.spi.InitialContextFactoryBuilder;

public class MyContextFactoryBuilder implements InitialContextFactoryBuilder {

	public InitialContextFactory createInitialContextFactory(Hashtable<?, ?> environment) throws NamingException {
		return new MyContextFactory();
	}

}
